package com.lening.iot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.iot.dto.AccontrolDTO;
import com.lening.iot.dto.AcowreviewDTO;
import com.lening.iot.po.AcowreviewPO;
import com.lening.iot.vo.AcowreviewVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ToDo:
 * @Author：李忠达
 * @date: 2024/6/4 10:24
 */
@Mapper
public interface AcowreviewDAO extends BaseMapper<AcowreviewPO> {
    Page<AcowreviewDTO> getAllAco(Page<AcowreviewDTO> AcowreviewDTO);

    AcowreviewVO getById(Long id);

    List<AcowreviewDTO> getAll(@Param("communityName")String communityname);
}
